package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.entity.IesService;

import java.util.List;

/**
 * ============================================================<br>
 * <p> ProjectName ：dianguanjiaexportdata </p>
 * <p> @author dongjianzhao </p>
 * <p> @date 2023/3/21 </p>
 * <p> @version ：1.0 </p>
 * ============================================================<br>
 * <p>
 * IesService
 * </p>
 * ============================================================<br>
 */
@Mapper
public interface IesServiceMapper extends BaseMapper<IesService> {
    @Select("select * from ies_service;")
    List<IesService> selectAll();
    @Delete("delete from ies_service where 1=1;")
    void deleteAll();

    void updateByServerId(IesService is);
}
